package cevent.source.cloudcenter.server.dto;


/**
 * @author cevent
 * @description 总分类表 模块传输层
 */
public class CategoryDto {

        //唯一ID
        private String uniId;
        //名称
        private String name;
        //父ID
        private String parentId;
        //模组ID
        private String moduleId;
        //分类层级
        private Integer level;
        //不删除1 显示|| 已删除0 不显示 value：逻辑未删除 delval：逻辑已删除
        private Integer isShow;
        //排序
        private Integer sort;
        //计量单位
        private String productUnit;
        //商品数量
        private Integer productCount;

        public String getUniId(){
            return  uniId;
        }
        public void setUniId(String uniId){
            this.uniId=uniId;
        }
        public String getName(){
            return  name;
        }
        public void setName(String name){
            this.name=name;
        }
        public String getParentId(){
            return  parentId;
        }
        public void setParentId(String parentId){
            this.parentId=parentId;
        }
        public String getModuleId(){
            return  moduleId;
        }
        public void setModuleId(String moduleId){
            this.moduleId=moduleId;
        }
        public Integer getLevel(){
            return  level;
        }
        public void setLevel(Integer level){
            this.level=level;
        }
        public Integer getIsShow(){
            return  isShow;
        }
        public void setIsShow(Integer isShow){
            this.isShow=isShow;
        }
        public Integer getSort(){
            return  sort;
        }
        public void setSort(Integer sort){
            this.sort=sort;
        }
        public String getProductUnit(){
            return  productUnit;
        }
        public void setProductUnit(String productUnit){
            this.productUnit=productUnit;
        }
        public Integer getProductCount(){
            return  productCount;
        }
        public void setProductCount(Integer productCount){
            this.productCount=productCount;
        }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [ ");
        sb.append("Hash = ").append(hashCode());

            sb.append(", uniId = ").append(uniId);
            sb.append(", name = ").append(name);
            sb.append(", parentId = ").append(parentId);
            sb.append(", moduleId = ").append(moduleId);
            sb.append(", level = ").append(level);
            sb.append(", isShow = ").append(isShow);
            sb.append(", sort = ").append(sort);
            sb.append(", productUnit = ").append(productUnit);
            sb.append(", productCount = ").append(productCount);
        sb.append(" ] ");
        return sb.toString();
    }
}
